package com.fantastic.mapper.zjs;

import com.fantastic.model.pojo.zjs.SetMeal;

import java.util.List;

/**
 * @author: rxx
 * @since: 2024/5/31 15:20
 * @description: 套餐表mapper层
 */
public interface SetMealMapper {
    /**
     * 查询套餐表信息
     *
     * @return
     */
    List<SetMeal> listMeal(SetMeal setMeal);

    /**
     * 查询单个套餐信息
     *
     * @param mealId
     * @return
     */
    SetMeal getMeal(Integer mealId);

    /**
     * 添加套餐信息
     * @param setMeal
     * @return
     */
    Integer insertMeal(SetMeal setMeal);

    /**
     * 修改套餐信息
     *
     * @param meal
     * @return
     */
    Integer updateMeal(SetMeal meal);

    /**
     * 删除套餐信息
     *
     * @param mealId
     * @return
     */
    Integer deleteMeal(Integer mealId);

}
